package cn.ibobo.lease.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 商品信息表
实体类DTO
 * @Author lililiang
 * @Date 2018-12-13 18:38:03
 */

@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("商品信息表实体类DTO")
public class GoodsDTO {

	@ApiModelProperty(value = "gid", required = false)
	private String gid;
	@ApiModelProperty(value = "商品名称", required = false)
	private String name;
	@ApiModelProperty(value = "价格", required = false)
	private BigDecimal price;
	@ApiModelProperty(value = "商家id", required = false)
	private String bid;
	@ApiModelProperty(value = "描述", required = false)
	private String content;
	@ApiModelProperty(value = "0 初始  1 在售  -1 下架", required = false)
	private Integer status;
	@ApiModelProperty(value = "图片路径", required = false)
	private String pic;
	@ApiModelProperty(value = "可买会员级别", required = false)
	private Integer uselevel;
	@ApiModelProperty(value = "最多可用代金券", required = false)
	private BigDecimal maxcoupon;
	@ApiModelProperty(value = "0 正常  1 推荐", required = false)
	private Integer topflag;
	@ApiModelProperty(value = "类型id", required = false)
	private String typeid;
	@ApiModelProperty(value = "类型名称，查询结果", required = false)
	private String typename;
	@ApiModelProperty(value = "商家名称，查询结果", required = false)
	private String bname;

	@ApiModelProperty(value = "是否置顶，0否，1是", required = false)
	private Integer isTop;
	@ApiModelProperty(value = "创建时间", required = false)
	private String createtm;
	
}
